<script type="text/javascript" src="${ctx}/res/js/jquery/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="${ctx}/res/js/jquery/jquery.ba-throttle-debounce.min.js"></script>
<script type="text/javascript">
	var jq = jQuery.noConflict();
</script>
<script type="text/javascript" src="${ctx}/res/js/main.js"></script>
<script type="text/javascript" src="${ctx}/res/js/popup_overlay.js"></script>
<script type="text/javascript" src="${ctx}/res/js/dropdown.js"></script>
<script type="text/javascript" src="${ctx}/res/js/notification.js"></script>

<script type="text/javascript">

jq(document).ready(function() {

	new PopupOverlay({
		'j_popup' : jq("[data-dom-id=popup]"),
		'j_popup_container' : jq("[data-dom-id=popup-container]"),
		'j_popup_close' : jq("[data-dom-id=popup] a[href='#popup_close']"),
		'j_popup_overlay' : jq("[data-dom-id=popup-overlay]"),
		'j_popup_trigger' : jq('a[href="#show_popup"]')
	});

	new Dropdown({
		'j_dropdown_link' : jq('a[href="#dropdown_link"]'),
		'j_dropdown' : jq("[data-dom-id=dropdown]")
	});

});

</script>